package creational.pattern.builder;

/**
 * @Autor: yuanyongan
 * @Description:
 * @Date 2023/1/9 10:11
 */
public class Test {
    public static void main(String[] args) {
        ResourcePoolConfigBuilder config = new ResourcePoolConfigBuilder.Builder()
                .setName("test")
                .setMaxTotal(16)
                .setMaxIdle(10)
                .setMinIdle(12)
                .build();

        ResourcePoolConfig config1 = new ResourcePoolConfig()
                .setName("test")
                .setMaxTotal(16)
                .setMaxIdle(10)
                .setMinIdle(12);
    }
}
